import java.util.Arrays;
import java.util.Scanner;


/*
import java.util.*;
class Solution {
    public void merge(int A[], int m, int B[], int n) {

        int i =0;
        int j =0;
        int k = 0;
        int[] array = new int[m+n];
        while(i<A.length&&j<B.length){
            if(A[i]<B[j]){
                array[k] = A[i];
                k++;
                i++;
            }else{
                array[k] = B[j];
                k++;
                j++;
            }
        }
        if(i<m){
            for(int a =i;a<m;a++,k++){
                array[k] = A[a];
            }
        }
        if(k<m){
            for(int a = j;a<m;a++,k++){
                array[k] = B[a];
            }
        }
        A = array;
    }
}

public class Main {
    public static void merge(int A[], int m, int B[], int n) {

        int i =0;
        int j =0;
        int k = 0;
        int[] array = new int[m+n];
        while(i<A.length&&j<B.length){
            if(A[i]<B[j]){
                array[k] = A[i];
                k++;
                i++;
            }else{
                array[k] = B[j];
                k++;
                j++;
            }
        }
        if(i<m){
            for(int a =i;a<m;a++,k++){
                array[k] = A[a];
            }
        }
        if(k<m){
            for(int a = j;a<m;a++,k++){
                array[k] = B[a];
            }
        }
        A = array;
    }
    public static void main(String[] args) {

        int[] A = new int[]{4,5,6,0,0,0};
        int[] B = new int[]{1,2,3};
        merge(A,6,B,3);
        System.out.println(Arrays.toString(A));

    }
*/
/*        Scanner scanner = new Scanner(System.in);
        String add = scanner.nextLine();
        char[] array = add.toCharArray();
        for(int i =0;i< array.length;i++){
            if(array[i]!=0) {
                System.out.println(array[i]);
            }
            for(int j =i+1;j<array.length;j++){
                if(array[i]==array[j]){
                    array[(i>j?i:j)] = 0;
                }
            }
        }

*//*
*/
/*        for(int i= 0;i<add.length();i++){
            array [add.indexOf(i)] = add.charAt(i);
        }
        for(int i =0;i< array.length;i++){
            if(array[i]!=0)
            System.out.println(array[i]);
        }*//*
*/
/*
    }*//*

}
*/
import java.util.Scanner;
public class Main{
    public static void func(String str){
        int[] ch = new int[256];
        StringBuffer string = new StringBuffer();
        for(int i = 0;i<str.length();i++){
            if(ch[str.charAt(i)]==0){
                string.append(str.charAt(i));
            }
            ch[str.charAt(i)]++;
        }
        System.out.println(string.toString());

    }
    public static void main(String[] args) {
      /*  Scanner scanner = new Scanner(System.in);
        while(scanner.hasNextLine()) {
        String str = scanner.nextLine();
        func(str);*/

        String str1 = "abcwqeracd";

        boolean[] bo = new boolean[str1.length()];
        for(int i =0;i< str1.length();i++){
            if(str1.contains("str1.charAt(i)")){
                bo[i] = str1.contains("str1.charAt(i)");

            }
        }
        System.out.println(Arrays.toString(bo));


    }
}































